<template>
    <div>
        <h2>{{ storeState.numbers }}</h2>
    </div>
</template>

<script>
import { store } from './store.js'

export default {
    name: 'NumberDisplay',
    //数据通过data() return得到
    data() {
        return {
            storeState: store.state
        }
    },
}
</script>
